package com.kqb.sgai.model.document;

import com.kqb.sgai.model.enums.MsgTypeEnum;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 杉果树皮
 */
@Data
@Document("chat")
public class Msg implements Serializable {

    private String conversationId;
    private String text;
    private Date date;
    private MsgTypeEnum type;

}
